﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kokomo.Mirror.CliMetadata;
using System.ComponentModel;
using Kokomo.Environment.Documents;

namespace Kokomo.PeInspector
{
	class MetadataTableViewModel : TableViewModel
	{
		public MetadataTable Table { get; private set; }
		public MetadataTableViewModel(
			NavigationContext navigationContext,
			MetadataTable table
			)
			: base(navigationContext,
				UiString.FromString(table.Number.ToString()),
				table
				)
		{
			if (table == null) throw new ArgumentNullException("table");
			this.Table = table;
		}
	}
}
